[INFO] cloning repository https://github.com/roeeshoshani/enum_variant_accessors
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roeeshoshani/enum_variant_accessors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fenum_variant_accessors", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fenum_variant_accessors'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d6085ffdbcafec70de314b66c2f28320c6440246
[INFO] fixing roeeshoshani/enum_variant_accessors against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=end=2015,2024 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froeeshoshani%2Fenum_variant_accessors" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/roeeshoshani/enum_variant_accessors
[INFO] finished tweaking git repo https://github.com/roeeshoshani/enum_variant_accessors
[INFO] tweaked toml for git repo https://github.com/roeeshoshani/enum_variant_accessors written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/roeeshoshani/enum_variant_accessors on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/roeeshoshani/enum_variant_accessors already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc
[INFO] running `Command { std: "docker" "start" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=end=2015,2024", kill_on_drop: false }`
[INFO] [stderr] crater-edition-check: migrating to next edition
[INFO] [stderr]    Migrating Cargo.toml from 2021 edition to 2024
[INFO] [stderr]    Compiling proc-macro2 v1.0.101
[INFO] [stderr]    Compiling quote v1.0.41
[INFO] [stderr]     Checking unicode-ident v1.0.19
[INFO] [stderr]    Compiling target-triple v0.1.4
[INFO] [stderr]     Checking winnow v0.7.13
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking toml_writer v1.0.4
[INFO] [stderr]     Checking glob v0.3.3
[INFO] [stderr]     Checking heck v0.5.0
[INFO] [stderr]     Checking toml_datetime v0.7.3
[INFO] [stderr]     Checking serde_spanned v1.0.3
[INFO] [stderr]     Checking serde_json v1.0.145
[INFO] [stderr]     Checking syn v2.0.107
[INFO] [stderr]     Checking toml_parser v1.0.4
[INFO] [stderr]     Checking toml v0.9.8
[INFO] [stderr]     Checking enum_variant_accessors v1.0.2 (/opt/rustwide/workdir)
[INFO] [stderr]    Migrating src/lib.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 13 |     match impl_is_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 17 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 22 |     match impl_as_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 26 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 13 |     match impl_is_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 17 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 22 |     match impl_as_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 26 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking trybuild v1.0.112
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 12 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 13 |     match impl_is_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 17 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout]    = note: `--force-warn tail-expr-drop-order` implied by `--force-warn rust-2024-compatibility`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating tests/derive_ok.rs from 2021 edition to 2024
[INFO] [stdout] warning: relative drop order changing in Rust 2024
[INFO] [stdout]   --> src/lib.rs:22:11
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let input = parse_macro_input!(input as DeriveInput);
[INFO] [stdout]    |         -----
[INFO] [stdout]    |         |
[INFO] [stdout]    |         `input` calls a custom destructor
[INFO] [stdout]    |         `input` will be dropped later as of Edition 2024
[INFO] [stdout] 22 |     match impl_as_variant(&input) {
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |           |
[INFO] [stdout]    |           this value will be stored in a temporary; let us call it `#1`
[INFO] [stdout]    |           up until Edition 2021 `#1` is dropped last but will be dropped earlier in Edition 2024
[INFO] [stdout] ...
[INFO] [stdout] 26 | }
[INFO] [stdout]    | - now the temporary value is dropped here, before the local variables in the block or statement
[INFO] [stdout]    |
[INFO] [stdout] note: `#1` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout] note: `input` invokes this custom destructor
[INFO] [stdout]   --> /rustc/622891a4e29178280638a6b63a8908bde2c0c854/library/proc_macro/src/bridge/client.rs:21:0
[INFO] [stdout]    = note: most of the time, changing drop order is harmless; inspect the `impl Drop`s for side effects like releasing locks or sending messages
[INFO] [stdout]    = warning: this changes meaning in Rust 2024
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/temporary-tail-expr-scope.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Migrating examples/basic.rs from 2021 edition to 2024
[INFO] [stderr]    Migrating tests/expected_failures_runner.rs from 2021 edition to 2024
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.48s
[INFO] [stderr] crater-edition-check: enum_variant_accessors v1.0.2 (/opt/rustwide/workdir) updating edition from 2021 to 2024
[INFO] [stderr]    Compiling enum_variant_accessors v1.0.2 (/opt/rustwide/workdir)
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> examples/basic.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(EnumIsVariant, EnumAsVariant, Debug)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]   = note: this error originates in the derive macro `EnumAsVariant` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> examples/basic.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(EnumIsVariant, EnumAsVariant, Debug)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         occurs within macro expansion
[INFO] [stdout]   |                         occurs within macro expansion
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]   = note: this error originates in the derive macro `EnumAsVariant` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enum_variant_accessors` (example "basic") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> tests/derive_ok.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(EnumIsVariant, EnumAsVariant)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]   = note: this error originates in the derive macro `EnumAsVariant` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]  --> tests/derive_ok.rs:3:25
[INFO] [stdout]   |
[INFO] [stdout] 3 | #[derive(EnumIsVariant, EnumAsVariant)]
[INFO] [stdout]   |                         ^^^^^^^^^^^^^
[INFO] [stdout]   |                         |
[INFO] [stdout]   |                         occurs within macro expansion
[INFO] [stdout]   |                         occurs within macro expansion
[INFO] [stdout]   |
[INFO] [stdout]   = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]   = note: this error originates in the derive macro `EnumAsVariant` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot explicitly borrow within an implicitly-borrowing pattern
[INFO] [stdout]   --> tests/derive_ok.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |     #[derive(EnumIsVariant, EnumAsVariant)]
[INFO] [stdout]    |                             ^^^^^^^^^^^^^ occurs within macro expansion
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/reference/patterns.html#binding-modes>
[INFO] [stdout]    = note: this error originates in the derive macro `EnumAsVariant` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `enum_variant_accessors` (test "derive_ok") due to 3 previous errors
[INFO] running `Command { std: "docker" "inspect" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc", kill_on_drop: false }`
[INFO] [stdout] a5b295dc529da4f03d738acbe4cf8035a7a0447b49d0e36920ec6231659fedcc
